package com.wyy.dao;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.wyy.beans.Car;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;

import java.util.List;

@Mapper
public interface CarDao extends BaseMapper<Car> {

    @Select("select * from car;")
    List<Car> findAllCars();

}
